package cn.ulc.store.dao.staff;

import cn.ulc.store.dao.BaseDao;
import cn.ulc.store.entity.staff.StaffDeductBill;
import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;
import java.util.Map;


/*
* StaffDeductBill
* gen by Jin mapper 2019-06-15
*/
@SqlResource("staff.staffDeductBill")
public interface StaffDeductBillDao extends BaseDao<StaffDeductBill> {

    List<StaffDeductBill> findByDate(Long staffId, String date);

    List<Map<String,Object>> findByType(String beginDate, String endDate, Long staffId);

    StaffDeductBill findByDealDate(String beginDate,String endDate,Long staffId);
}
